oxenstored: add transaction info relevant to history-tracking
authorJonathan Davies <jonathan.davies@citrix.com>
Tue, 14 Mar 2017 12:17:38 +0000 (12:17 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 5 Apr 2017 14:10:42 +0000 (15:10 +0100)
commit4f4596a0e90ebf7ed971b1949244e3b2cbed5d11
tree0a4388d5ada0ca906f14467579ac0bcd13f895c2
parentb795db0e3d04dff4fd31b380eb7dbc58c8926964
oxenstored: add transaction info relevant to history-tracking

Specifically:
 * retain the original store (not just the root) in full transactions
 * store commit count at the time of the start of the transaction

Reported-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
Reviewed-by: Thomas Sanders <thomas.sanders@citrix.com>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Christian Lindig <christian.lindig@citrix.com>
tools/ocaml/xenstored/process.ml
tools/ocaml/xenstored/transaction.ml